package cn.elricyu.tt.action;

import net.sf.json.JSON;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.elricyu.tt.action.base.AbstractAction;
import cn.elricyu.tt.bean.User;
import cn.elricyu.tt.util.JsonUtil;

public class QQUpgradeGiftAction extends AbstractAction {
	private static Log logger = LogFactory.getLog(QQUpgradeGiftAction.class);
	private User self = null;

	public QQUpgradeGiftAction(User self) {
		this.self = self;
		this.url = "root/qQEvent!receiveQQupgradeGift.action";
	}

	public void process(JSON json) {
		try {
			int giftType = JsonUtil.getIntValue(json, "gifttype", 0);
			long cd = JsonUtil.getLongValue(json, "cd", 0);
		} catch (Exception e) {
		}
	}

}
